/* pages/my/my.wxss */
/*我的信息*/
.skeleton {
  background: #F7F7F8;
}

.top-view {
  height: 220rpx;
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
  border-bottom-left-radius: 10rpx;
  border-bottom-right-radius: 10rpx;
  padding: 50rpx 32rpx 50rpx 58rpx;
  background: url("") no-repeat center top;
  background-size: cover;

  .my-info {
    align-items: center;
    display: flex;
    justify-content: space-between;

    >.usimg {
      flex: initial;
      width: 138rpx;
      height: 138rpx;
      position: relative;
      margin-right: 18rpx;

      >.card {
        position: absolute;
        bottom: 0;
        font-size: 18rpx;
        color: #fff;
        text-align: center;
        width: 148rpx;
        height: 148rpx;
        bottom: -7rpx;
        left: -5rpx;

        > .title {
          margin-top: 115rpx;
        }
      }

      >.ordinary {
        background: no-repeat center/100% url("");
      }

      >.silver {
        background: no-repeat center/100% url("");
      }

      >.golden {
        background: no-repeat center/100% url("");
      }

      >.diamonds {
        background: no-repeat center/100% url("");
      }

      >image {
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }
    }

    >.user_dec {
      flex: 1;
      text-align: left;

      .name {
        font-size: 32rpx;
        color: #242424;
        margin-bottom: 10rpx;
      }

      .user_icon {
        >text {
          background: #FFE56D;
          margin-right: 10rpx;
          height: 34rpx;
          line-height: 34rpx;
          position: relative;
          text-align: center;
          padding: 0 10rpx;
          color: #151515;
          font-size: 18rpx;
          border-radius: 17rpx;
          float: left;
          margin-bottom: 8rpx;

          &.king {
            &::after {
              transform: scale(0.5);
              border: 1px solid #151515;
              transform-origin: 0 0;
              display: flex;
              box-sizing: border-box;
              content: ' ';
              position: absolute;
              top: 0;
              left: 0;
              width: 200%;
              height: 200%;
              border-radius: 30rpx;
            }
          }
        }

        >.no-pre {
          text-indent: 22rpx;
          &::after {
            content: ' ';
            position: absolute;
            top: 8rpx;
            left: 10rpx;
            width: 20rpx;
            height: 20rpx;
          }
        }

        >.user-agreement {
          &::after {
            background: no-repeat center/100% url("");
          }
        }

        >.integrity_logo {
          &::after {
            background: no-repeat center/100% url("");
          }
        }
      }
    }
  }

  .my-message {
    font-size: 20rpx;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 140rpx;

    >.message-info {
      position: relative;

      >.icon-message {
        transform: translate(-10rpx);
        width: 32rpx;
        height: 32rpx;
      }

      >.badge {
        border-radius: 11rpx;
        background-color: #ff6868;
        color: #FFFFFF;
        text-align: center;
        position: absolute;
        top: -14rpx;
        right: -7rpx;
        font-size: 20rpx;
        width: 34rpx;
        height: 22rpx;
        line-height: 22rpx;
      }
    }

    >.grade-info {
      position: relative;
      width: 128rpx;
      height: 48rpx;
      line-height: 48rpx;
      text-align: center;
      text-indent: -15rpx;
      &::after {
        transform-origin: 0 0;
        box-sizing: border-box;
        content: ' ';
        position: absolute;
        top: 0;
        left: 0;
        width: 256rpx;
        height: 96rpx;
        transform: scale(0.5);
        border-radius: 48rpx;
        border: 1px solid #151515;
      }
      &::before {
        content: ' ';
        position: absolute;
        top: 8rpx;
        right: 0;
        width: 32rpx;
        height: 32rpx;
        transform: scale(0.5);
        background: no-repeat center/100% url("");
      }
    }
  }
}

.container {
  padding: 0 25rpx;
}

.account,
.my-order-list,
.util {
  background: #fff;
  border-radius: 10rpx;
  margin-bottom: 20rpx;
  padding: 0 30rpx;
}

/*账户*/
.account {
  max-height: 160rpx;
  color: #00AE66;
  display: flex;
  align-items: center;
  margin-top: -90rpx;
  justify-content: space-around;

  >navigator {
    text-align: center;
    padding: 32rpx 0;

    > .title {
      font-family: DINAlternate-Bold;
      font-size: 48rpx;
      color: #151515;
      text-align: center;
    }

    >text {
      color: #989797;
      font-size: 24rpx;
    }

    >image {
      margin-right: 18rpx;
      position: relative;
    }

    &.blance {
      >image {
        width: 48rpx;
        height: 48rpx;
        top: 10rpx;
      }
    }

    &.coupon {
      >image {
        top: 5rpx;
        width: 50rpx;
        height: 38rpx;
      }
    }
  }

  >.interval {
    flex: initial;
    width: 2rpx;
    height: 40rpx;
    background: #eee;
  }
}

.pannel {
  font-size: 30rpx;
  color: #3D4552;
  display: flex;
  height: 78rpx;
  line-height: 78rpx;
  border-bottom: 1rpx solid #F2F4F8;

  view {
    flex: 1;
  }

  .item {
    position: relative;
    text-align: right;

    &::before {
      content: ' ';
      position: absolute;
      top: 25%;
      right: -16rpx;
      width: 48rpx;
      height: 48rpx;
      transform: scale(0.5);
      background: no-repeat center/100% url("");
    }
    text {
      color: #A5A5A5;
      font-size: 28rpx;
      margin-right: 22rpx;
    }
  }
}

.my-order-list {
  .item-menus {
    display: flex;
    font-size: 24rpx;
    color: #A5A5A5;
    justify-content: space-between;
    text-align: center;
    padding: 20rpx 0;

    >navigator {
      padding: 20rpx 0;

      image {
        width: 68rpx;
        height: 68rpx;
      }

      .order-ci {
        width: 68rpx;
        height: 68rpx;
      }
    }
  }
}

/*操作区*/
.option-view {
  padding: 20rpx 0;
}

.option-tiem {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  >.item {
    text-align: center;
    padding: 20rpx 0;
    position: relative;
    min-width: 96rpx;

    &:active {
      background: #f9f9fa;
    }

    >image {
      display: block;
      width: 56rpx;
      height: 56rpx;
      margin: 0 auto 16rpx;
    }

    .reply {
      width: 12rpx;
      height: 12rpx;
      background: #f30;
      border-radius: 50%;
      position: absolute;
      top: 11rpx;
      right: 14rpx;
    }

    >text {
      font-size: 24rpx;
      color: #A5A5A5;
    }
  }
}